package com.TropicalFlavor.service;

import com.TropicalFlavor.po.MarketGoods;
import com.TropicalFlavor.po.MarketUser;

public interface userService
{
    boolean Register(MarketUser marketUser);
    public boolean Login(String sNum, String Password, boolean IsAdmin);
    public boolean ChangeInfo(MarketUser marketUser);

    //新增售卖物品
    public boolean PushSaleGoods(String UID, MarketGoods marketGoods);

    //新增方法：根据PK选出指定对象，用于session的存储
    MarketUser selectByPrimaryKey(String UID);
}
